<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: "App",
  metaInfo() {
    return {
      title:
        this.$store.state.settings.dynamicTitle &&
        this.$store.state.settings.title,
      titleTemplate: (title) => {
        return title
          ? `${title} - ${process.env.VUE_APP_TITLE}`
          : process.env.VUE_APP_TITLE;
      },
    };
  },
};
</script>

<style lang="scss">
body {
  font-size: 14px;
}
//滚动条的宽度
::-webkit-scrollbar {
  width: 6px;
  height: 8px;
}
//滚动条的滑块
::-webkit-scrollbar-thumb {
  background-color: #a1a3a9;
  border-radius: 4px;
}
::-webkit-scrollbar-track       //scroll轨道背景
{
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.6);
}

/*解决表格错位问题*/
.el-table th.gutter {
  display: table-cell !important;
}

.el-table colgroup.gutter {
  display: table-cell !important;
}

.el-table .warning-row {
  background: oldlace;
}

.el-table .success-row {
  background: #f0f9eb;
}

.search-treeselect {
  height: 32px;
}
.search-treeselect .vue-treeselect__control {
  height: 32px !important;
  display: block !important;
  line-height: 32px !important;
}

.search-treeselect .vue-treeselect__placeholder {
  line-height: 32px;
}

.search-treeselect .vue-treeselect__single-value {
  line-height: 32px;
}
</style>
